﻿using SassModule.Entity;
using SassModule.ViewModel;
using System;
using System.Collections.Generic;

namespace SassModule.Contracts
{
    /// <summary>
    /// ISassService
    /// </summary>
    public interface ISassService
    {
        IEnumerable<Sass> Index();
        void Add(Sass info);
        void Del(Guid id);
        IEnumerable<DownListInfo> DownList();
        void Switch(SassViewModel sass);
        void Reset(SassPasswordViewModel sass);
        /// <summary>
        /// 设置账套Logo和Title
        /// </summary>
        /// <param name="data"></param>
        /// <param name="dbStr"></param>
        void ConfigLogoAndTitle(SassConfigViewModel data, string dbStr);

        /// <summary>
        /// 更新Sass
        /// </summary>
        /// <param name="sass"></param>
        void UpdateSass(Sass sass);
    }
}
